package com.lite.business.exception;

import com.lite.common.exception.BaseException;
import org.springframework.http.HttpStatus;

/**
 * @author Stranger
 * @version 1.0
 * @description: TODO
 * @date 2022/10/25 20:32
 */
public class BusinessException extends BaseException {

    public BusinessException(Integer httpStatus, String message) {
        super(httpStatus, message);
    }

    public BusinessException(String message) {
        this(HttpStatus.BAD_REQUEST.value(), message);
    }
}
